export default {
  filterRouteName(type) {
    let routeName = ''
    switch (type) {
      case 0:
        routeName = 'devired-calculate'
        break
      case 1:
        routeName = 'devired-sql'
        break
      case 2:
        routeName = 'devired-logic'
        break
      case 3:
        routeName = 'devired-single'
        break
      case 4:
        routeName = 'devired-compose'
        break
      case 5:
        routeName = 'devired-cross'
        break
      case 6:
        routeName = 'devired-rate'
        break
      default:
        routeName = 'devired-sql'
        break
    }
    return routeName
  }
}
